import 'package:flutter/material.dart';
import 'package:flutter_resume/components/animated_linear_progresslndicator.dart';
import 'package:flutter_resume/config/constants.dart';

class Coding extends StatelessWidget {
  const Coding({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Column(
      crossAxisAlignment: CrossAxisAlignment.start,
      children: [
        Divider(),
        Padding(
          padding: const EdgeInsets.symmetric(vertical: defaultPadding),
          child: Text(
            '语言',
            style: Theme.of(context).textTheme.subtitle2,
          ),
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.8,
          label: 'Dart',
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.8,
          label: 'JavaScript',
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.9,
          label: 'CSS',
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.85,
          label: 'HTML',
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.6,
          label: 'php',
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.4,
          label: 'GoLang',
        ),
        AnimatedLinearProgressIndicator(
          percentage: 0.5,
          label: 'Node',
        ),
      ],
    );
  }
}
